package com.wang.learn.cloudredis.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * ClassName Book
 * Description
 *
 * @author wang
 * Date 2021/6/10 17:34
 */
@Data
public class Book {
    private int id;
    @NotBlank(message = "名称不可为空")
    private String name;
    private int count;

    private long time;
}